package com.example.hello.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class EmployeeCreateVO {
    private Integer id;
    private List<Integer> experienceIds;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    public static EmployeeCreateVO of(Integer id, List<Integer> experienceIds, LocalDateTime updateTime) {
        EmployeeCreateVO vo = new EmployeeCreateVO();
        vo.setId(id);
        vo.setExperienceIds(experienceIds);
        vo.setUpdateTime(updateTime);
        return vo;
    }
} 